package com.softa.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author panda
 * 菜单表
 */
@Data
@TableName("sys_resource")
public class SysResource {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "type")
    private String type;

    @TableField(value = "url")
    private String url;

    @TableField(value = "parent_id")
    private Long parentId;

    @TableField(value = "parent_ids")
    private String parentIds;

    @TableField(value = "permission")
    private String permission;

    @TableField(value = "available")
    private Boolean available;

    @TableField(value = "sort")
    private Integer sort;

}